<template>
	<!-- v-if="!showPriceTable" -->
	<div>
		<a-layout>
			<a-layout-content>
				<a-page-header>
					<template slot="title">
						{{ "当前市场" + $route.meta.title }}
					</template>
				</a-page-header>
				<price-list
					v-for="(item, index) in marketData"
					:key="index"
					:marketItem="item"
				/>
			</a-layout-content>
		</a-layout>
	</div>
</template>


<script>
	import { mapGetters, mapMutations } from "vuex"
	export default {
		props: {
			// showPriceTable: {
			// 	type: Boolean,
			// 	default: false,
			// },

			marketData: {
				type: Array,
				default: function () {
					return []
				},
			},
		},
		data() {
			return {}
		},
		computed: {
			...mapGetters({
				// showPriceTable: "getPriceTableStatus",
			}),
		},
		methods: {
			deleteSku() {},
			copySku() {},
			addProduct() {},
			copyProduct() {},
		},
		components: {
			"price-list": () => import("./priceList.vue"),
		},
	}
</script>


<style scoped lang='less'>
</style>